﻿using System.ComponentModel.DataAnnotations;
using Data.AggregateRoot;

namespace Data.Entities
{
    public class SysDepartment : EntityBase
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        [StringLength(200)]
        [Required]
        public string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(2000)]
        public string Description { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
    }
}